<html><head><title>PreviousDatabaseRow</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">PreviousDatabaseRow()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>PreviousDatabaseRow</b></font>(#Database)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Retrieves information about the previous database row in the #Database. 
The flag <font color="#924B72">#PB_Database_DynamicCursor</font> has to be specified to <a href="databasequery.html">DatabaseQuery()</a> to have this command working. 
To access to fields inside a row, <a href="getdatabaselong.html">GetDatabaseLong()</a>, 
<a href="getdatabasefloat.html">GetDatabaseFloat()</a>, <a href="getdatabasestring.html">GetDatabaseString()</a> can be used. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Database</i></td>
<td width="90%"> 
The database to use. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

If Result is 0, then no more rows are available 
(i.e. reached the start of the table). 

</blockquote><p><b>Remarks</b></p><blockquote>

If this function returns zero despite additional rows being available before the current one, then the ODBC driver 
does not support data retrieval in a backwards direction. It is not mandatory for an ODBC driver to support this function 
(unlike <a href="nextdatabaserow.html">NextDatabaseRow()</a>). Of course, if this function works, it will work on every computer using the same driver. 
<br>
<br>
<a href="usesqlitedatabase.html">SQLite databases</a> don't support this command. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="getdatabaseblob.html">GetDatabaseBlob()</a>, <a href="getdatabasedouble.html">GetDatabaseDouble()</a>, <a href="getdatabasefloat.html">GetDatabaseFloat()</a>, <a href="getdatabaselong.html">GetDatabaseLong()</a>, <a href="getdatabasequad.html">GetDatabaseQuad()</a>, <a href="getdatabasestring.html">GetDatabaseString()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=opendatabaserequester.html>OpenDatabaseRequester()</a> - <a href=index.html>Database Index</a> - <a href=setdatabaseblob.html>SetDatabaseBlob()</a> ->


</body></html>